/* MODAL */
.configurator-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  align-items: center;
}

.configurator-modal--active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.configurator-modal__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background: var(--Color-Background-General-Overlay, rgba(44, 44, 44, 0.20));
}

.configurator-modal__content-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.configurator-modal__card {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  height: auto;
  padding: var(--size-space-16, 16px);
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--size-space-8, 8px);
  align-self: stretch;
  border-radius: 16px 16px var(--border-width-none, 0) var(--border-width-none, 0);
  background: var(--Color-Surface-General-1, #FFF);
}

.configurator-modal__close {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.configurator-modal__image {
  width: 100%;
  object-fit: cover;
  height: 150px;
  border-radius: var(--border-radius-l, 16px);
  padding-block: 8px;
}

.configurator-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-inline: var(--size-space-8, 8px);
  box-sizing: border-box;
  gap: var(--size-space-8, 8px);
}

.configurator-modal__info-title {
  margin: 0;
  width: 100%;
  padding-bottom: 0rem;
}

.configurator-modal__info-text {
  margin: 0;
}

.configurator-modal__close-button {
  width: var(--Size-icons-s, 24px);
  height: var(--Size-icons-s, 24px);
  border: none;
  background: none;
  cursor: pointer;
}

.configurator-modal__close-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.configurator-modal--animate-in {
  animation: slideUp 0.4s ease-out forwards;
}

.configurator-modal--animate-out {
  animation: slideDown 0.4s ease-in forwards;
}

@media (min-width: 576px) {
  .configurator-modal__content-wrapper {
    position: relative;
    display: flex;
    width: var(--576-767-page-width, 576px);
    height: 684px;
    padding: var(--size-space-64, 64px) var(--576-767-page-margin, 42px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--size-space-0, 0);
  }

  .configurator-modal__card {
    position: static;
    justify-content: flex-start;
    padding: var(--size-space-16, 16px);
    border-radius: 16px;
    padding-bottom: 40px;
  }

  .configurator-modal__image {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .configurator-modal__content {
    padding-inline: var(--size-space-24, 24px);
  }
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
  .configurator-modal__content-wrapper {
    width: 100%;
    min-width: 1200px;
    padding: var(--size-space-64, 64px) 272px;
    box-sizing: border-box;
  }
}

@media (min-width: 1920px) {
  .configurator-modal__content-wrapper {
    min-width: var(--14001920-page-width, 1920px);
    padding: var(--size-space-64, 64px) 648px;

  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0%);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}